import 'package:healthy_station_flutter/generated/json/base/json_field.dart';
import 'package:healthy_station_flutter/generated/json/id_card_entity.g.dart';
import 'dart:convert';
export 'package:healthy_station_flutter/generated/json/id_card_entity.g.dart';

@JsonSerializable()
class IdCardEntity {
	String? name = '';
	String? gender = '';
	String? group = '';
	String? born = '';
	String? address = '';
	String? idNumber = '';
	String? startDate = '';
	String? endDate = '';
	String? issueAuthority = '';
	String? keyString = '';

	IdCardEntity();

	factory IdCardEntity.fromJson(Map<String, dynamic> json) => $IdCardEntityFromJson(json);

	Map<String, dynamic> toJson() => $IdCardEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}